package boot3.service;

import boot3.pojo.Message;

import java.util.List;

public interface MessageService {
    public List<Message> getAllMessage();
    public Boolean setMessage(Message message);
    public Boolean deleteMessage(String message_id);
    public List<Message> getMessageByReceiverId(String receiver_id);
    public Boolean updateMessageWatch(String message_id);
    public Boolean updateMessageWatchByRS(String receiver_name, String sender_name);
}
